package cn.sfrog.project.biz.admin.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


@Data
@ApiModel(description = "服务表单VO")
public class BizServiceFormVO {
    @ApiModelProperty("id")
    private Long id;

    @NotNull
    @ApiModelProperty("用户id")
    private Long userId;

    @NotNull
    @ApiModelProperty("服务名称")
    private String name;

    @ApiModelProperty("服务封面图片")
    private String image;

    @NotNull
    @ApiModelProperty("服务类型（详见字典表）")
    private String type;

    @ApiModelProperty("服务介绍")
    private String introduction;

    @ApiModelProperty("省名称")
    private String province;

    @ApiModelProperty("省code")
    private String provinceCode;

    @ApiModelProperty("市名称")
    private String city;

    @ApiModelProperty("市code")
    private String cityCode;

    @ApiModelProperty("服务医院ids")
    private Long[] hospitalIds;

    @ApiModelProperty("服务时长")
    private Integer serviceTime;

    @ApiModelProperty("服务时长单位 1=小时 2=天")
    private String serviceTimeUnit;

    @ApiModelProperty("服务价格")
    private BigDecimal price;

    @ApiModelProperty("好评率")
    private BigDecimal praiseUnit;

    @ApiModelProperty("状态【0=上架 1=下架】")
    private String status;

    @ApiModelProperty("备注")
    private String remark;


}
